<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            border: 1px solid red;
            width: 100px;
            height: 100px;
        }
        span{
            /*行内元素的宽高由内容决定,不能修改*/
            display: inline-block;
            border: 1px solid blue;
            width: 25px;
            height: 100px;
        }
        img{
            width: 200px;
            height: 200px;
        }
        a{
            /*超链接属于行内元素不能修改宽高, 比如必须要改,需要修改显示方式*/
            display: inline-block;
            width: 132px;
            height: 40px;
            background-color: #0aa1ed;

            text-align: center;
            line-height: 40px;
            color: white;
            text-decoration: none;
            font-size: 20px;

            border-radius: 10px;/*设置圆角*/
            display: none;/*让元素隐藏*/

        }

    </style>
</head>
<body>
<a href="http://www.baidu.com">查看详情</a>
<img src="../b.jpg" alt="">
<img src="../b.jpg" alt="">
<img src="../b.jpg" alt="">
<div>
    <span>1</span>
    <span>2</span>
    <span>3</span>
</div>
<div>div1</div>
<div>div2</div>
<div>div3</div>
<span>span1</span>
<span>span2</span>
<span>span3</span>

</body>
</html>